package org.bocs.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.bocs.entity.ProductSku;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ProductSkuDao extends BaseMapper<ProductSku> {

    /**
     * 根据商品ID，查询当前商品所有套餐中价格最低的套餐
     * @param productId
     * @return
     */
    public List<ProductSku> selectLowerPriceByProductId(String productId);

}
